package com.koron.plan.web.patrollineplan.bean.dto;

import com.koron.common.task.web.entity.CronTask;
import com.koron.plan.web.patrollineplan.bean.po.PlanLinePatrol;
import com.koron.plan.web.patrollineplan.bean.po.PlanLinePatrolWorker;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author jzp
 * @since 2022/11/24
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("线路巡视计划详情")
public class PlanLinePatrolDTO extends PlanLinePatrol {

    @ApiModelProperty("巡视人员")
    private List<PlanLinePatrolWorker> workers;

    @ApiModelProperty("巡视点")
    private List<PlanLinePatrolItemDTO> itemList;

    @ApiModelProperty("定时任务表达式")
    private CronTask cronTask;

}
